package com.model;

import java.sql.Timestamp;

/**
 * Serverlog entity. @author MyEclipse Persistence Tools
 */

public class Serverlog implements java.io.Serializable {

	// Fields

	private Integer lid;
	private Customerserver customerserver;
	private Customer customer;
	private Consulttype consulttype;
	private String serialnum;
	private Timestamp stime;
	private Timestamp ftime;
	private String operation;

	// Constructors

	/** default constructor */
	public Serverlog() {
	}

	/** minimal constructor */
	public Serverlog(String serialnum) {
		this.serialnum = serialnum;
	}

	/** full constructor */
	public Serverlog(Customerserver customerserver, Customer customer,
			Consulttype consulttype, String serialnum, Timestamp stime,
			Timestamp ftime, String operation) {
		this.customerserver = customerserver;
		this.customer = customer;
		this.consulttype = consulttype;
		this.serialnum = serialnum;
		this.stime = stime;
		this.ftime = ftime;
		this.operation = operation;
	}

	// Property accessors

	public Integer getLid() {
		return this.lid;
	}

	public void setLid(Integer lid) {
		this.lid = lid;
	}

	public Customerserver getCustomerserver() {
		return this.customerserver;
	}

	public void setCustomerserver(Customerserver customerserver) {
		this.customerserver = customerserver;
	}

	public Customer getCustomer() {
		return this.customer;
	}

	public void setCustomer(Customer customer) {
		this.customer = customer;
	}

	public Consulttype getConsulttype() {
		return this.consulttype;
	}

	public void setConsulttype(Consulttype consulttype) {
		this.consulttype = consulttype;
	}

	public String getSerialnum() {
		return this.serialnum;
	}

	public void setSerialnum(String serialnum) {
		this.serialnum = serialnum;
	}

	public Timestamp getStime() {
		return this.stime;
	}

	public void setStime(Timestamp stime) {
		this.stime = stime;
	}

	public Timestamp getFtime() {
		return this.ftime;
	}

	public void setFtime(Timestamp ftime) {
		this.ftime = ftime;
	}

	public String getOperation() {
		return this.operation;
	}

	public void setOperation(String operation) {
		this.operation = operation;
	}

}